<template>
	<view class="uni-center">
		<web-view :src="path"></web-view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			path: ''
		};
	},
	onLoad(params) {
		if (plus.os.name == 'Android') {
			this.path = `/hybrid/html/pdf.html?url=${params.path}`
		} else {
			this.path = params.path
		}
	},
	methods: {
		
	}
};
</script>

<style>
.uni-center {
	width: 100vw;
	min-height: calc(100vh - 44px);
}
</style>
